package com.letfox.ad.service;

import javax.servlet.http.HttpServletResponse;

import com.letfox.ad.model.ADApp;
import com.letfox.ad.model.ADPos;

public interface ADAppSynthesizeService {
	
	public String saveRequest(String params) throws Exception;
	public ADApp  checkAppId(String adAppId) throws Exception;
	public ADPos  checkPosId(String adAppId,String adPlacdId) throws Exception;
	public String findMaterial(String json) throws Exception;
	/**
	 *检测曝光上报内容
	 * @return
	 */
	public String impressCheck(String request_id,String view_id) throws Exception;
	
	/**
	 * 点击上报业务
	 * @return
	 * @throws Exception
	 */
	public String clickCheck(String request_id,String view_id,String inter,String plan,String clk_coord,HttpServletResponse response) throws Exception;
	
	/**
	 * 转化上报业务
	 * @param request_id
	 * @param view_id
	 * @param click_id
	 * @return
	 * @throws Exception
	 */
	public String converCheck (String request_id,String view_id,String click_id,String action_id) throws Exception;
}
